/*
 * @Description: 
 * @Author: fograin4
 * @Date: 2023-09-25 17:24:37
 * @LastEditTime: 2023-09-27 15:46:11
 * @LastEditors: fograin4
 * @Reference: 
 */
import api from '../utils/request'

// 任务新增
export const insertTask = (method:any, params:any, data:any) => api({
  url: '/api/insert_task',
  method,
  params,
  data
})

// 任务删除
export const removeStatueMould = (method:any, params:any, data:any) => api({
  url: '/api/remove_statue_mould',
  method,
  params,
  data
})

// 根据id查询任务
export const getTaskByTaskId = (method:any, params:any, data:any) => api({
  url: '/api/get_task_by_task_id',
  method,
  params,
  data
})

// 获取所有任务
export const getAllTask = (method:any, params:any, data:any) => api({
  url: '/api/get_all_task',
  method,
  params,
  data
})